package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.DeviceInformationImgDao;
import io.renren.modules.generator.entity.DeviceInformationImgEntity;
import io.renren.modules.generator.service.DeviceInformationImgService;



@Service("deviceInformationImgService")
public class DeviceInformationImgServiceImpl implements DeviceInformationImgService {
	@Autowired
	private DeviceInformationImgDao deviceInformationImgDao;
	
	@Override
	public DeviceInformationImgEntity queryObject(Integer id){
		return deviceInformationImgDao.queryObject(id);
	}
	
	@Override
	public List<DeviceInformationImgEntity> queryList(Map<String, Object> map){
		return deviceInformationImgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return deviceInformationImgDao.queryTotal(map);
	}
	
	@Override
	public void save(DeviceInformationImgEntity deviceInformationImg){
		deviceInformationImgDao.save(deviceInformationImg);
	}
	
	@Override
	public void update(DeviceInformationImgEntity deviceInformationImg){
		deviceInformationImgDao.update(deviceInformationImg);
	}
	
	@Override
	public void delete(Integer id){
		deviceInformationImgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		deviceInformationImgDao.deleteBatch(ids);
	}
	
}
